package kr.hkit.PowerJava.chapter12;

public class TestInterFaceMain {
  public static void main(String[] args) {
	Tv tv= new Tv();
	Car car = new Car();
	
	RemoteControl[] rc = new RemoteControl[2];
	
	rc[0] = tv;
	rc[1] = car;
	
    for(RemoteControl r : rc){
    	r.turrnOn();
    	r.turrnOff();
    }
  }
}
